package com.ruoyi.userlogin.pojo;

/**
 * @author 26352
 * @Date 2023/3/6 18:42
 * @Description TODO
 * @Version 1.0
 */

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.data.mongodb.core.mapping.Document;

/**
 * 记录客服聊天记录的实体类
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Document(collection = "records")  //表名
public class RecordsEntity {
    //机器人信息
    private String apiKey;
    //用户信息
    private String userId;
    //聊天的内容
    private String message;

    //聊天时间
    private String presenttime;


}
